package com.jxq.fd.Controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description: Feign - demo
 * @author: jxq
 * @date: 2021/7/31 10:19 上午
 * @version: 1.0
 **/
@RestController
public class ControllerFeignDemo {

    @Resource
    private ControllerFeign  controllerFeign;

    @GetMapping ("/feign/test")
    public String helloWord(@RequestParam(value = "s") String s){
        return controllerFeign.helloWord(s);
    }
}
